import Rest from './request'
import type { Community } from '@/types/Community'
export function getCommunityList() {
    return Rest.get<Community[]>('/Community')
}
//删除社区
export function deleteCommunity(id: number) {
    return Rest.delete<Community>(`/Community/${id}`)
}